package com.alm.token.ui.data.bean;

import java.util.List;

/**
 * Created by en on 2019/1/4.
 */

public class CurrentOrderData {

    /**
     * msg : 操作成功
     * status : 0
     * data : {"level":{"id":1,"userId":18,"maxLevel":0,"levelName":"无","vipLevel":1,"vipName":"普通会员","vipOrderId":null,"nodeLevel":0,"nodeName":"无","createTime":1544690007000,"updateTime":null},"order":{"id":5,"vipName":"VIP","vipLevel":2,"createTime":1544693230000,"updateTime":null,"status":1,"userId":18,"money":5000,"startTime":1544693230000,"endTime":null},"vips":[{"money":5000,"name":"VIP","id":2},{"money":10000,"name":"超级会员","id":3}],"wallet":{"id":28,"money":10000,"userId":30,"frozenMoney":0,"activeMoney":10000,"giftMoney":0,"createTime":1545191680000,"updateTime":1545201291000}}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * level : {"id":1,"userId":18,"maxLevel":0,"levelName":"无","vipLevel":1,"vipName":"普通会员","vipOrderId":null,"nodeLevel":0,"nodeName":"无","createTime":1544690007000,"updateTime":null}
         * order : {"id":5,"vipName":"VIP","vipLevel":2,"createTime":1544693230000,"updateTime":null,"status":1,"userId":18,"money":5000,"startTime":1544693230000,"endTime":null}
         * vips : [{"money":5000,"name":"VIP","id":2},{"money":10000,"name":"超级会员","id":3}]
         * wallet : {"id":28,"money":10000,"userId":30,"frozenMoney":0,"activeMoney":10000,"giftMoney":0,"createTime":1545191680000,"updateTime":1545201291000}
         */

        private LevelBean level;
        private OrderBean order;
        private WalletBean wallet;
        private List<VipsBean> vips;

        public LevelBean getLevel() {
            return level;
        }

        public void setLevel(LevelBean level) {
            this.level = level;
        }

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public WalletBean getWallet() {
            return wallet;
        }

        public void setWallet(WalletBean wallet) {
            this.wallet = wallet;
        }

        public List<VipsBean> getVips() {
            return vips;
        }

        public void setVips(List<VipsBean> vips) {
            this.vips = vips;
        }

        public static class LevelBean {
            /**
             * id : 1
             * userId : 18
             * maxLevel : 0
             * levelName : 无
             * vipLevel : 1
             * vipName : 普通会员
             * vipOrderId : null
             * nodeLevel : 0
             * nodeName : 无
             * createTime : 1544690007000
             * updateTime : null
             */

            private int id;
            private int userId;
            private int maxLevel;
            private String levelName;
            private int vipLevel;
            private String vipName;
            private Object vipOrderId;
            private int nodeLevel;
            private String nodeName;
            private long createTime;
            private Object updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getMaxLevel() {
                return maxLevel;
            }

            public void setMaxLevel(int maxLevel) {
                this.maxLevel = maxLevel;
            }

            public String getLevelName() {
                return levelName;
            }

            public void setLevelName(String levelName) {
                this.levelName = levelName;
            }

            public int getVipLevel() {
                return vipLevel;
            }

            public void setVipLevel(int vipLevel) {
                this.vipLevel = vipLevel;
            }

            public String getVipName() {
                return vipName;
            }

            public void setVipName(String vipName) {
                this.vipName = vipName;
            }

            public Object getVipOrderId() {
                return vipOrderId;
            }

            public void setVipOrderId(Object vipOrderId) {
                this.vipOrderId = vipOrderId;
            }

            public int getNodeLevel() {
                return nodeLevel;
            }

            public void setNodeLevel(int nodeLevel) {
                this.nodeLevel = nodeLevel;
            }

            public String getNodeName() {
                return nodeName;
            }

            public void setNodeName(String nodeName) {
                this.nodeName = nodeName;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class OrderBean {
            /**
             * id : 5
             * vipName : VIP
             * vipLevel : 2
             * createTime : 1544693230000
             * updateTime : null
             * status : 1
             * userId : 18
             * money : 5000
             * startTime : 1544693230000
             * endTime : null
             */

            private int id;
            private String vipName;
            private int vipLevel;
            private long createTime;
            private Object updateTime;
            private int status;
            private int userId;
            private int money;
            private long startTime;
            private Object endTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getVipName() {
                return vipName;
            }

            public void setVipName(String vipName) {
                this.vipName = vipName;
            }

            public int getVipLevel() {
                return vipLevel;
            }

            public void setVipLevel(int vipLevel) {
                this.vipLevel = vipLevel;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getMoney() {
                return money;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public long getStartTime() {
                return startTime;
            }

            public void setStartTime(long startTime) {
                this.startTime = startTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }
        }

        public static class WalletBean {
            /**
             * id : 28
             * money : 10000
             * userId : 30
             * frozenMoney : 0
             * activeMoney : 10000
             * giftMoney : 0
             * createTime : 1545191680000
             * updateTime : 1545201291000
             */

            private int id;
            private double money;
            private int userId;
            private double frozenMoney;
            private double activeMoney;
            private double giftMoney;
            private long createTime;
            private long updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public double getFrozenMoney() {
                return frozenMoney;
            }

            public void setFrozenMoney(double frozenMoney) {
                this.frozenMoney = frozenMoney;
            }

            public double getActiveMoney() {
                return activeMoney;
            }

            public void setActiveMoney(double activeMoney) {
                this.activeMoney = activeMoney;
            }

            public double getGiftMoney() {
                return giftMoney;
            }

            public void setGiftMoney(double giftMoney) {
                this.giftMoney = giftMoney;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class VipsBean {
            /**
             * money : 5000
             * name : VIP
             * id : 2
             */

            private int money;
            private String name;
            private int id;

            public int getMoney() {
                return money;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
